<?php

namespace App\Models\User;

use Illuminate\Database\Eloquent\Model;

class Vip extends Model
{
    public $table = 'vip_card_list';
    public $timestamps = false;

    #获取会员充值列表
    public static function getVipCardList()
    {
        $data = self::query()->get()->toArray();
        return $data;
    }

    #通过ID获取指定充值信息
    public static function getAppointVipById(int $id)
    {
        $data = self::query()->find($id);
        return $data;
    }
}
